package com.csdn.demo.cms.controller;

import com.csdn.demo.cms.model.BlogCategory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Description:
 * @Date: 2018-07-16 19:03 by Wagic(weibin.wang01@ucarinc.com) 创建
 */
public class BlogCategoryController {


    /**
     * 文章分类列表
     * @param blogCategory
     * @param pageCurrent
     * @param pageSize
     * @param pageCount
     * @param model
     * @return
     */
    @RequestMapping("/cms/newsCategoryManage_{pageCurrent}_{pageSize}_{pageCount}")
    public String newsCategoryManage(BlogCategory blogCategory, @PathVariable Integer pageCurrent, @PathVariable Integer pageSize,
                                     @PathVariable Integer pageCount, Model model) {

        return "cms/blogCategoryManage";
    }

}
